package cn.com.aiton.common.model;

import java.util.Date;

public class SystemErrorDomain extends BaseDomain {
    private String name;
    private String subsytem;
    private String error;
    private Date errortime;

    public SystemErrorDomain() {
    }

    public SystemErrorDomain(String name, String subsytem, String error, Date errortime) {
        this.name = name;
        this.subsytem = subsytem;
        this.error = error;
        this.errortime = errortime;
    }

    @Override
    public String toString() {
        return "SystemErrorEntity{" +
                "name='" + name + '\'' +
                ", subsytem='" + subsytem + '\'' +
                ", error='" + error + '\'' +
                ", errortime=" + errortime +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubsytem() {
        return subsytem;
    }

    public void setSubsytem(String subsytem) {
        this.subsytem = subsytem;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Date getErrortime() {
        return errortime;
    }

    public void setErrortime(Date errortime) {
        this.errortime = errortime;
    }
}
